package com.course.server.mapper;

import com.course.server.domain.TravelContent;
import com.course.server.domain.TravelContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TravelContentMapper {
    long countByExample(TravelContentExample example);

    int deleteByExample(TravelContentExample example);

    int deleteByPrimaryKey(String id);

    int insert(TravelContent record);

    int insertSelective(TravelContent record);

    List<TravelContent> selectByExampleWithBLOBs(TravelContentExample example);

    List<TravelContent> selectByExample(TravelContentExample example);

    TravelContent selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TravelContent record, @Param("example") TravelContentExample example);

    int updateByExampleWithBLOBs(@Param("record") TravelContent record, @Param("example") TravelContentExample example);

    int updateByExample(@Param("record") TravelContent record, @Param("example") TravelContentExample example);

    int updateByPrimaryKeySelective(TravelContent record);

    int updateByPrimaryKeyWithBLOBs(TravelContent record);
}